﻿using System.Collections.Generic;

namespace Labthink.PCSoft.UniversalHost4
{
    public class ComAnalysis//解析协议的结构,协议中一个变量对应一个结构
    {
        public List<int> Address;

        /// <summary>
        /// 小数位数
        /// </summary>
        public int DecimalPlace { get; set; }

        public List<byte> Bytes;// 要发送的串口数据

        public ComAnalysis(List<int> address, int decimalPlace)
        {
            Address = address;
            DecimalPlace = decimalPlace;
        }
    }
}
